package common

const (
	TypeResponseString      = "ResponseString"
	TypeResponseLogin       = "ResponseLogin"
	TypeResponseUserList    = "ResponseUserList"
	TypeResponseSayAll      = "ResponseSayAll"
	TypeResponseSayOne      = "ResponseSayOne"
	TypeResponseSayOneStart = "ResponseSayOneStart"
	TypeResponseTest        = "ResponseTest"
)

type Response struct {
	Code string
	Data string
}
type ResponseString struct {
	Content string
}

type ResponseLogin struct {
	UserId   int
	NickName string
}

type ResponseUserList struct {
	UserList map[int]*User
}

type ResponseSayAll struct {
	UserId   int
	NickName string
	Content  string
}

type ResponseSayOne struct {
	FromUser *User
	ToUser   *User
}

type ResponseSayOneStart struct {
	FromUser *User
	Content  string
}

type ResponseTest struct {
	Content string
}
